#BackToTop {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 2;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #42b983;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition-duration: 0.3s;
}

#BackToTop:hover {
  background-color: #1a222c;
}

@media screen and (max-width: 500px) {
	#BackToTop {
	font-size: 12px;
	padding: 5px;
	}
	}

	@media screen and (max-width: 700px) {
	#BackToTop {
	display: none;
	}
	}